package cn.jsc.mapper;

import cn.jsc.domain.Course;
import cn.jsc.dto.CourseAddDto;
import cn.jsc.query.CourseQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chuanchuan
 * @since 2022-01-20
 */
public interface CourseMapper extends BaseMapper<Course> {
    /**
     * pagelist
     * @param page
     * @return
     */
    List<CourseAddDto> selectMyPage(Page<CourseAddDto> page, CourseQuery query);
}
